package com.ly.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ly.dto.CarInfoDto;
import com.ly.dto.CarOrderDto;
import com.ly.entity.Car;
import com.ly.entity.CarOrder;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface CarOrderMapper extends BaseMapper<CarOrder> {

    public Page<CarOrderDto> pageCarOrderList(Page<CarOrderDto> carInfoDtoPage, @Param("orderCode") String orderCode, @Param("statTime") String statTime, @Param("endTime") String endTime, @Param("keyValues") String keyValues,@Param("orderStatus")Integer orderStatus, @Param("userId") String userId);

    List<CarOrder>  listCarOrder();
}
